From b23de08286e5324d16e53ec1d76594a9958fdb43 Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Wed, 29 Sep 2004 09:39:54 +0000 Subject: [PATCH] bitkeeper revision 1.1159.95.1 (415a82eauG6CiQHX1_qZWxeq5kcwrg) Fix small memory leak in block device probing code. --- linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c b/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c index e7c5453c4a..4e758f7826 100644 --- a/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c +++ b/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c @@ -101,6 +101,8 @@ static int xlvbd_get_vbd_info(vdisk_t *disk_info) nr = MAX_VBDS; memcpy(disk_info, buf, nr * sizeof(vdisk_t)); + free_page((unsigned long)buf); + return nr; } -- 2.30.2